import Vue from 'vue'
import {
  Swipe,
  SwipeItem,
  Search,
  Grid,
  GridItem,
  Tabbar,
  TabbarItem,
  Icon,
  IndexBar,
  IndexAnchor,
  Cell,
  CellGroup,
  NavBar,
  Toast,
  Picker,
  Tab,
  Tabs,
  Cascader,
  List,
  PullRefresh,
  popup,
  Sticky,
  Checkbox,
  CheckboxGroup,
  Button
} from 'vant'

Vue.use(Button)
Vue.use(popup)
Vue.use(PullRefresh)
Vue.use(List)
Vue.use(Cascader)
Vue.use(Tab)
Vue.use(Tabs)
Vue.use(NavBar)
Vue.use(Picker)
Vue.use(Cell)
Vue.use(CellGroup)
Vue.use(IndexBar)
Vue.use(IndexAnchor)
Vue.use(Icon)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(Grid)
Vue.use(GridItem)
Vue.use(Search)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(Sticky)
Vue.use(Checkbox)
Vue.use(CheckboxGroup)
Vue.prototype.$toast = Toast
